XML 52 R40.htm IDEA: XBRL DOCUMENT v3.5.0.2
Recent accounting pronouncements (Details) - USD ($)
$ in Thousands
6 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Jan. 31, 2016
New Accounting Pronouncement, Early Adoption [Line Items]      
Net Cash Provided by (Used in) Operating Activities $ 129,506 $ 94,812  
Net Cash Provided by (Used in) Financing Activities $ (170,808) (6,587)  
Adjustments for New Accounting Pronouncement [Member]      
New Accounting Pronouncement, Early Adoption [Line Items]      
Deferred Tax Assets, Gross     $ 48,605
Deferred tax assets valuation allowance     38,425
Cumulative Effect of New Accounting Principle in Period of Adoption     $ 10,180
Scenario, Previously Reported [Member]      
New Accounting Pronouncement, Early Adoption [Line Items]      
Net Cash Provided by (Used in) Operating Activities   94,807  
Net Cash Provided by (Used in) Financing Activities   $ (6,582)