SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES | 2. SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Basis of presentation and use of estimates The preparation of consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities, disclosures of contingent assets and liabilities at the balance sheet dates and the reported amounts of revenues and expenses during the reporting periods. Significant estimates and assumptions reflected in the Group’s consolidated financial statements include, but are not limited to, revenue recognition, allowance for doubtful accounts, useful lives of property and equipment, impairment of long-lived assets, long-term investments and goodwill, the purchase price allocation and fair value of non-controlling interests with respect to business combinations and acquisition of equity method investees, realization of deferred tax assets, uncertain income tax positions and share-based compensation. Actual results could materially differ from those Certain comparative amounts have been reclassified to conform with the current year’s presentation. The consolidated financial statements of the Group include the financial statements of the Company, its subsidiaries and VIEs in which it has a controlling financial interest. The results of the subsidiaries are consolidated from the date on which the Group obtained control and continue to be consolidated until the date that such control ceases. A controlling financial interest is typically determined when a company holds a majority of the voting equity interest in an entity. However, if the Company demonstrates its ability to control the VIEs through its rights to all the residual benefits of the VIEs and its obligation to fund losses of the VIEs then the entity is consolidated. All significant intercompany balances and transactions among the Company, its subsidiaries and VIEs have been eliminated on consolidation. Translations of amounts from RMB into US$ for the convenience of the reader were calculated at the noon buying rate of US$ 1.00 6.9430 Foreign currency The functional currency of the Company, BVI, 500wan HK, 500.com UK and 500.com USA is the US $. E-Sun Sky Computer and VIEs determined their functional currencies to be the RMB, which is their respective local currencies based on the criteria of ASC 830, “ Foreign Currency Matters” Transactions denominated in foreign currencies are remeasured into the functional currency at the exchange rates prevailing on the transaction dates. Financial assets and liabilities denominated in foreign currencies are remeasured into the functional currency at the exchange rates prevailing at the balance sheet date. Exchange gains and losses resulting from foreign currency transactions are included in the consolidated statements of comprehensive income (loss). The Group accounts for its business combinations using the purchase method of accounting in accordance with ASC 805 (“ASC 805”), “ Business Combinations” The determination and allocation of fair values to the identifiable assets acquired, liabilities assumed and noncontrolling interests is based on various assumptions and valuation methodologies requiring considerable judgment from management. The most significant variables in these valuations are discount rates, terminal values, the number of years on which to base the cash flow projections, as well as the assumptions and estimates used to determine the cash inflows and outflows. The Group determines discount rates to be used based on the risk inherent in the related activity’s current business model and industry comparisons. Terminal values are based on the expected life of assets, forecasted life cycle and forecasted cash flows over that period. For the Company's majority-owned VIEs, a noncontrolling interest is recognized to reflect the portion of their equity which is not attributable, directly or indirectly, to the Group “Net income (loss)” on the consolidated income statements includes the “net loss attributable to noncontrolling interests”. The cumulative results of operations attributable to noncontrolling interests are also recorded as noncontrolling interests in the Company's consolidated balance Cash and cash equivalents represent cash on hand and time deposits, which have original maturities of three months or less Restricted cash represents cash held by banks which (i) were granted by the government and designated only for the purchase of fixed assets for certain approved projects, (ii) were drawn from short-term loans and designated only for marketing activities, and (iii) were pledged to financial institutions as collateral for the Group’s bank loans. Time deposits Time deposits represent deposits in commercial banks with original maturities of greater than three months but less than a year 17,009 20,589 23,859 Accounts receivables are carried at original invoiced amount less an allowance for doubtful accounts when collection of the amount is no longer probable. In evaluating the collectability of receivable balances, the Group considers factors such as customer circumstances or age of the receivable. Accounts receivable are written off after all collection efforts have ceased. Collateral is not typically required, nor is interest charged on accounts receivable. Property and equipment are stated at cost and depreciated using the straight-line method over the estimated useful lives of the assets, as follows: Category Estimated Useful Life Estimated Residual Electronics and office equipment 3-5 years 5 % Motor vehicles 5-10 years 2-5 % Leasehold improvements Shorter of lease term or the estimated useful lives of the assets - Repair and maintenance costs are charged to expense as incurred, whereas the cost of renewals and betterment that extend the useful lives of property and equipment are capitalized as additions to the related assets. Retirements, sales and disposals of assets are recorded by removing the cost and accumulated depreciation from the asset and accumulated depreciation accounts with any resulting gain or loss reflected in the consolidated statements of comprehensive income (loss). Intangible assets represent computer software, internet domain name, licensing agreement, and intangible assets arising from business combination. Computer software, internet domain name and licensing agreement purchased from third parties are initially recorded at cost and amortized on a straight line basis over their estimated useful lives of the respective assets. The Group performs valuation of the intangible assets arising from business combination to determine the relative fair value to be assigned to each asset acquired. The acquired intangible assets are recognized and measured at fair value and are expensed or amortized using the straight-line approach over the estimated useful life of the assets. Estimated useful lives of the respective assets are set out as follows: Category Estimated Useful Life Computer software 3 10 Internet domain name 10 Licensing agreement Agreement term Intangible assets arising from business combination Online payment and other licenses 15 Mobile applications 5 The Group assesses goodwill for impairment in accordance with ASC 350-20 (“ASC 350-20”), “ IntangiblesGoodwill and Other: Goodwill” The Group has the option to first assess qualitative factors to determine whether it is necessary to perform the two-step test in accordance with ASC 350-20. If the Group believes, as a result of the qualitative assessment, that it is more-likely-than-not that the fair value of the reporting unit is less than its carrying amount, the two-step quantitative impairment test described above is required. Otherwise, no further testing is required. In the qualitative assessment, the Group considers primary factors such as industry and market considerations, overall financial performance of the reporting unit, and other specific information related to the operations. In performing the two-step quantitative impairment test, the first step compares the carrying amount of the reporting unit to the fair value of the reporting unit based on either quoted market prices of the ordinary shares or estimated fair value using a combination of the income approach and the market approach. If the fair value of the reporting unit exceeds the carrying value of the reporting unit, goodwill is not impaired and the Group is not required to perform further testing. If the carrying value of the reporting unit exceeds the fair value of the reporting unit, then the Group must perform the second step of the impairment test in order to determine the implied fair value of the reporting unit’s goodwill. The fair value of the reporting unit is allocated to its assets and liabilities in a manner similar to a purchase price allocation in order to determine the implied fair value of the reporting unit goodwill. If the carrying amount of the goodwill is greater than its implied fair value, the excess is recognized as an impairment loss. In 2016, the Group performed a qualitative assessment for the reporting unit. Based on the requirements of ASC 350-20, the Group evaluated all relevant factors, weighed all factors in their entirety and concluded that it was not more-likely-than-not the fair value was less than the carrying amount of the newly acquired entities, and further impairment testing on goodwill was unnecessary as of December 31, The Group evaluates its long-lived assets or asset group, including property and equipment and intangible assets, with finite lives for impairment whenever events or changes in circumstances (such as a significant adverse change to market conditions that will impact the future use of the assets) indicate that the carrying amount of a group of long-lived assets may not be fully recoverable. When these events occur, the Group evaluates the impairment by comparing the carrying amount of the assets to future undiscounted cash flows expected to result from the use of the assets and their eventual disposition. If the sum of the expected undiscounted cash flow is less than the carrying amount of the assets, the Group recognizes an impairment loss based on the excess of the carrying amount of the asset group over its fair value. No impairment charge for the long-lived assets was recognized for any of the years All highly liquid investments with original maturities of greater than three months, but less than 12 months, are classified as short-term investments in accordance with ASC 320-10, “InvestmentsDebt and Equity Securities” “Derivatives and Hedging” The Group’s long-term investments consist of cost method investments, equity method investments and available-for-sale investments. In accordance with ASC 325, “ Investments-Other” Investments in entities in which the Group can exercise significant influence but does not own a majority equity interest or control are accounted for using the equity method of accounting in accordance with ASC 323 (“ASC 323”), “Investments-Equity Method and Joint Ventures” The equity method goodwill is not subsequently amortized and is not tested for impairment under ASC 350. The Group evaluates the equity method investments for impairment under ASC 323. An impairment loss on the equity method investments is recognized in earnings when the decline in value is determined to be other-than-temporary. Available-for sale investments are reported at fair value, with unrealized gains and losses recorded in accumulated other comprehensive income. Realized gains or losses are included in earnings during the period in which the gain or loss is realized. An impairment loss on the available-for-sale investments is recognized in the consolidated statements of comprehensive income (loss) when the decline in value is determined to be other-than-temporary. Investments in limited partnerships greater than 3% to 5% Financial instruments include cash and cash equivalents, restricted cash, time deposits, accounts receivable, structured deposit (Note 5), other receivables, long-term investments and accounts payable . As of December 31, 2015 and 2016, the carrying values of these financial instruments, other than the structured deposit, approximate their fair values due to their short-term maturities. The Group determined the fair value of the derivative redemption feature and the structured deposit with the assistance of an independent third party valuation firm. The Group applies ASC 820 (“ASC 820”), “Fair Value Measurements and Disclosures ASC 820 establishes a three-tier fair value hierarchy, which prioritizes the inputs used in measuring fair value as follows: Level 1 Observable inputs that reflect quoted prices (unadjusted) for identical assets or liabilities in active markets. Level 2 Include other inputs that are directly or indirectly observable in the marketplace. Level 3 Unobservable inputs which are supported by little or no market activity. ASC 820 describes three main approaches to measuring the fair value of assets and liabilities: (1) market approach; (2) income approach, and (3) cost approach. The market approach uses prices and other relevant information generated from market transactions involving identical or comparable assets or liabilities. The income approach uses valuation techniques to convert future amounts to a single present value amount. The measurement is based on the value indicated by current market expectations about those future amounts. The cost approach is based on the amount that would currently be required to replace an asset. Revenue recognition The Group’s revenues are derived principally from online lottery purchase services. Revenue is recognized in accordance with ASC 605, “ Revenue Recognition” Online lottery purchase services The Group earns service income for online lottery purchase services and revenues are generated from processing lottery purchase orders from end users (“Service Fee”). The Group receives purchase orders from end users through its online platforms, which include website and mobile applications, and processes the orders with the lottery administration centers. Service Fee is received from the lottery administration centers based on the pre-determined service fee rate and the total amount of the processed orders. Pursuant to ASC 605-45, “ Principal Agent Considerations Contingent service fee The Group is entitled to receive additional Service Fee from lottery administration centers when the total amounts of purchase orders reach an agreed threshold (“Contingent Service Fee”). As the Group is the agent in providing lottery purchase services, any Contingent Service Fee received is recorded as net revenue when the agreed thresholds are reached. Once the Group reaches the agreed thresholds, the Contingent Service Fee is then fixed and not subject to any adjustments. Sports Information Services The Group offers a comprehensive sports information portal via a designated mobile application, which covers (i) real time soccer match information; and (ii) data-driven soccer match predictions generated by our proprietary analysis engine. Users can also post free or pay-per-view contents such as proprietary observations and analyses on the sports information portal. The users pay for each information and data subscription at a fixed price, and the Group pays the original information providers a fixed percentage of total purchase amount. Revenue is recognized when users is accessible to the pay-per-view contents. The Group records the revenue on a net basis because the Group is not the primary obligor to provide the information, but acts as an agent in providing such purchase services. Mobile Gaming Services The Group provides mobile gaming services through its designated mobile applications Night of Texas Hold’em Poker and Paiyou for Texas Hold’em Poker, and derives revenues from in-game virtual tokens and other virtual items in its game development operations. Once the users purchase virtual tokens or other virtual items through the Group’s own charging system, the Group has an implied obligation to provide the services which enable the virtual tokens or other virtual items to be displayed or used in the games. Thus, the Group initially records the proceeds received from the sales of virtual tokens and other virtual items as deferred revenue, and once they are consumed when the services are rendered to the respective paying players, the Group recognizes the attributable portion of the deferred revenue as revenue. For consumable virtual items representing items that are extinguished after consumption in the form of fixed charges levied on each round of games played, the Group recognizes revenue when the items are consumed and the related services are rendered, since the paying players will not continue to benefit from the virtual items thereafter. For durable virtual items that are accessible and beneficial to paying players over an extended period, the Group recognizes revenue ratably over the average life of durable virtual items for the applicable game, which the Group makes best estimates to be average playing period of paying players. The Group tracks each paying player’s log-in history to estimate the average playing period of paying players. While the Group believes its estimates to be reasonable based on sufficient available paying player information, it may revise such estimates in the future as the games’ operation periods change or there is indication that the similarities in characteristics and playing patterns of paying players of the games change. Any adjustments arising from changes in the estimates of the average paying player life would be applied prospectively. The Super VIP incentive Certain qualified end users (“Super VIP”) are entitled to receive incentives from the Group based on actual purchase amount of each transaction. As the Group does not receive an additional service or benefit from the Super VIP other than service fee earned from lottery administration centers by the Group from the transaction, the incentives are recognized as a reduction of revenue at each year end in accordance with ASC 605-50, “ Customer Payments and Incentives” Lottery pool purchase service Lottery pools involve individual end users purchasing a share in a pooled lottery outcome or group of outcomes with other end users. Through the lottery pool purchase service, an end user, an initiator, starts a lottery pool by specifying a range of parameters, such as the lottery portfolio, total purchase amount and payout ratio. The initiator is required to commit a minimum initial purchase amount when they initiate a pool, usually a certain percentage of the total purchase amount. Other end users then join the pool by agreeing to the parameters set by the initiator and committing on the purchase amount. When the total purchase amount as specified by the initiator is reached, the pooled lottery purchase order will be delivered in the manner specified by the initiator. When the actual purchase amount does not reach the total purchase amount as specified by the initiator but reaches a certain percentage of total purchase amount before the lottery pool purchase deadline, the Group contributes the remaining outstanding purchase amount (i.e., residual amount of lottery pool) to complete the lottery pool transaction. If the tickets win prizes from the lottery, the Group distributes the cash prizes to the end users based on the predetermined payout ratio, and the residual amount after distribution is retained by the Group. Since the Group contributes the residual amount of lottery pool to earn Service Fee from the purchase made by the lottery pool and does not provide any service to the lottery administration centers, the residual amount of lottery pool contributed by the Group paid to the lottery administration centers is recognized as a reduction of revenue. The residual amount of the lottery pool retained by the Group after distribution of the prizes are presented as “other operating income”, and recognized upon the announcement of lottery results, as the Group’s principal activity is to provide lottery purchase services to end users. Cost of services comprises employee costs, business tax and surcharges and other direct costs incurred in providing the purchase services. These costs are expensed as incurred. Business tax and surcharges Business tax and surcharges for the years ended December 31, 2014, 2015 and 2016 of RMB 8,198 629 31 4.5 0.56 2.27 Sales and marketing expenses The Group is responsible to pay certain internet companies a predetermined fixed percentage of the total purchase or deposit amount only if 1) public users enter the Group’s website by redirection through these internet companies’ website, and/or 2) public users have successfully purchased any lottery tickets or deposited certain amounts of cash into their accounts in the Group’s website. The Group is responsible for providing online lottery purchase services when such public users enter the Group’s website to purchase lottery tickets. Neither online lottery purchase services have been provided by these internet companies, nor have separate lottery service agreements been entered into between internet companies and the public users. Since these internet companies are providing similar services as those services that have been provided by the Group’s internal sales personnel/agent, any relevant costs to be paid by the Group is treated as sales and marketing expenses. Advertising expenditure Advertising costs are expensed as incurred and are included in “sales and marketing expenses” in the consolidated statements of comprehensive income (loss). Advertising expenses for the years ended December 31, 2014, 2015 and 2016 were approximately RMB 34,489 26,192 347 50 Sponsorship expenses The Group’s sales and marketing expenses consist of payments under a sponsorship contract. Accounting for sponsorship payments is based upon specific contract provisions. Generally, sponsorship payments are expensed on a straight-line basis over the term of the contract after giving recognition to periodic performance provisions of the contract. Prepayments made under the contract are included in prepayments based on the period to which the prepayments apply. Awards granted to certain qualified end users All new end users are entitled to receive bonus credits from the Group upon the initial registration of their user accounts and all existing users are entitled to receive bonus credits from the Group by depositing a specified amount of cash into their user accounts during a marketing promotion period. The end users can only apply the bonus credits received against future lottery product purchases processed by the Group. The bonus credits are recognized as sales and marketing expenses when the bonus credits are granted to the end users. All new and existing end users are entitled to receive additional prize money for winning tickets from selected lotteries purchased through the Group during a marketing promotion period. The cost of the additional prize money is to be shared between the lottery administration centers and the Group at a predetermined percentage or funded entirely by the Group. As the Group does not receive an identifiable benefit in return for the consideration that is sufficiently separable from the lottery administration centers’ purchase of lottery processing services from the Group, the additional prize money provided to the lottery administration center, are recognized as a reduction of revenue at each period end in accordance with ASC 605-50, “ Customer Payments and Incentives”. Service development expenses consist primarily of personnel-related expenses incurred for the development of, enhancement to, and maintenance of the Group’s website that either (i) did not meet the capitalization criteria in accordance with ASC 350, “Intangibles - Goodwill and other” the capitalization criteria but the costs cannot be separated on a reasonably cost-effective basis between maintenance and relatively minor upgrades and enhancements. Service development expenses are recognized as expenses when incurred. Leases The Group leases certain office facilities under cancelable and non-cancelable operating leases, generally with an option to renew upon expiry of the lease term. In accordance with ASC 840, “ Leases” For the lessee, a lease is a capital lease if any of the following conditions exist: a) ownership is transferred to the lessee by the end of the lease term, b) there is a bargain purchase option, c) the lease term is at least 75% of the properties estimated remaining economic life or d) the present value of the minimum lease payments at the beginning of the lease term is 90% or more of the fair value of the leased property to the lessor at the inception date. The Group follows the liability method of accounting for income taxes. Under this method, deferred tax assets and liabilities are determined based on the difference between the financial reporting and tax bases of assets and liabilities using enacted tax rates that will be in effect in the period in which the differences are expected to reverse. The Group records a valuation allowance to offset deferred tax assets if based on the weight of available evidence, it is more-likely-than-not that some portion, or all, of the deferred tax assets will not be realized. The effect on deferred taxes of a change in tax rates is recognized in the consolidated statements of comprehensive income (loss) in the period that includes the enactment date. Interest and penalties arising from underpayment of income taxes are computed in accordance with the related PRC tax law and is classified in the consolidated statements of comprehensive income (loss) as income tax expense. The amount of interest expense is computed by applying the applicable statutory rate of interest to the difference between the tax position recognized and the amount previously taken or expected to be taken in a tax return. In accordance with the provisions of ASC 740 (“ASC 740”), “Income taxes” tax position if a tax return position or future tax position is “more likely than not” to be sustained upon examination based solely on the technical merits of the position. Tax positions that meet the “more likely than not” recognition threshold are measured at the largest amount of tax benefit, determined on a cumulative probability basis, that has a greater than fifty percent likelihood of being realized upon settlement. In conjunction with ASC 740, the Group also applied ASC 740-30 (“ASC 740-30”), “ Income Taxes: Other Considerations or Special Areas” Share options granted to employees and directors Share options granted to employees and directors are accounted for under ASC 718 (“ASC 718”), Compensation - Stock compensation ASC 718 requires forfeitures to be estimated at the time of grant and revised, if necessary, in the subsequent period if actual forfeitures differ from initial estimates. Forfeiture rate is estimated based on historical and future expectation of employee turnover rate and is adjusted to reflect future change in circumstances and facts, if any. Share-based compensation expense is recorded net of estimated forfeitures such that expense was recorded only for those share-based awards that are expected to vest. To the extent the Group revises this estimate in the future, the share-based payments could be materially impacted in the period of revision, as well as in following periods. The compensation costs associated with a modification of the terms of the award (“Modification Award”) are recognized if either the original vesting condition or the new vesting condition has been achieved. Such compensation costs cannot be less than the grant-date fair value of the original award. The incremental compensation cost is measured as the excess of the fair value of the Modification Award over the fair value of the original award at the modification date. Therefore, in relation to the Modification Award, the Group recognizes share-based compensation over the vesting periods of the new options, which comprises, (1) the amortization of the incremental portion of share-based compensation over the remaining vesting term, and (2) any unrecognized compensation cost of original award, using either the original term or the new term, whichever is higher for each reporting period. Share options granted to non-employees The Group records share-based compensation expense for awards granted to non-employees in exchange for services at fair value in accordance with the provisions of ASC 505-50, “ Equity-based payment to non-employees” The Group, with the assistance of an independent valuation firm, determined the fair values of the share options recognized in the consolidated financial statements. The binomial option pricing model is applied in determining the estimated fair value of the share options granted to employees and non-employees. Deferred offering expenses Direct costs incurred by the Group attributable to its proposed public offerings of ordinary shares that have been deferred. Such costs, including legal and other professional fees, are recorded as deferred offering expenses in the consolidated balance sheets and will be charged against the gross proceeds received from such offerings. For the years ended December 31, 2014, 2015 and 2016, the Group expensed deferred offering expenses of RMB 3,241 “Other assets and deferred costs” The Group computes earnings per Class A and Class B ordinary shares in accordance with ASC 260 (“ASC 260”), “ Earnings Per Share” The liquidation and dividend rights of the holders of the Group’s Class A and Class B ordinary shares are identical, except with respect to voting. As a result, and in accordance with ASC 260, the undistributed earnings for each year are allocated based on the contractual participation rights of the Class A and Class B ordinary shares as if the earnings for the year had been distributed. As the liquidation and dividend rights are identical, the undistributed earnings are allocated on a proportionate basis. Further, as the conversion of Class B ordinary shares is assumed in the computation of the diluted net income per share of Class A ordinary shares, the undistributed earnings are equal to net income for that computation. For the purposes of calculating the Group’s basic and diluted earnings per Class A and Class B ordinary shares, the ordinary shares relating to the options that were exercised are assumed to have been outstanding from the date of exercise of such options. Government grants are recognized when there is reasonable assurance that the attached conditions will be complied with. When the grant relates to an expense item, it is recognized in the consolidated statements of comprehensive income (loss) over the period necessary to match the grant on a systematic basis to the related costs. Where the grant relates to an asset acquisition, it is recognized in the consolidated statements of comprehensive income (loss) in proportion to the depreciation of the related assets. The Group accounts for treasury shares using the cost method. Under this method, the cost incurred to purchase the shares is recorded in the treasury shares account on the consolidated balance sheets. At retirement, the ordinary shares account is charged only for the aggregate par value of the shares. The excess of the acquisition cost of treasury shares over the aggregate par value is allocated between additional paid-in capital (up to the amount credited to the additional paid-in capital upon original issuance of the shares) and retained earnings. In 2016, the Group accounts early adopted the ASU 2015-17, “ Balance Sheet Classification of Deferred Taxes” requires companies to classify all deferred tax assets and liabilities as noncurrent on the balance sheet instead of separating deferred taxes into current and noncurrent amounts. To comply with the guidance, the Group classified all deferred tax assets and liabilities as noncurrent in the current year and consolidated financial statements were not retrospectively adjusted. In May 2014, the Financial Accounting Standards Board, or the FASB, issued ASU No. 2014-09, “Revenue from Contracts with Customers” “Revenue Recognition” “Revenue from Contracts with Customers-Deferral of the effective date” In January 2016, the FASB issued ASU No. 2016-01 (“ASU 2016-01”), “ Financial Instruments” In February 2016, the FASB issued ASU No. 2016-02, “Leases” In March 2016, the FASB issued ASU No. 2016-07, “InvestmentsEquity Method and Joint Ventures (Topic 323): Simplifying the Tra |