FAIR VALUE MEASUREMENT (Details 1)  | 
3 Months Ended | 
|---|---|
| 
 Mar. 31, 2017  
USD ($) 
 | |
| Debt Derivative Liability [Member] | |
| Fair value of debt derivative, Beginning | $ 5,115,280 | 
| Initial fair value of debt derivative at note issuance | 11,023,244 | 
| Transfers out of Level 3 upon conversion and settlement of notes | (1,146,200) | 
| Mark-to-market: | |
| Embedded debt derivative | 28,030,753 | 
| Fair value of debt derivative, Ending | 43,023,077 | 
| Warrant [Member] | |
| Fair value of debt derivative, Beginning | 26,903 | 
| Initial fair value of debt derivative at note issuance | |
| Transfers out of Level 3 upon conversion and settlement of notes | |
| Mark-to-market: | |
| Embedded debt derivative | 130,920 | 
| Fair value of debt derivative, Ending | $ 157,823 | 
| X | ||||||||||
- Definition Embedded debt derivative. No definition available. 
  | 
| X | ||||||||||
- Definition Fair value of debt derivative. No definition available. 
  | 
| X | ||||||||||
- Definition Mark-to-market. No definition available. 
  | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition The cash outflow for cost incurred directly with the issuance of a derivative security. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |