XML 50 R39.htm IDEA: XBRL DOCUMENT v3.4.0.3
Recent accounting pronouncements (Details) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2016
Apr. 30, 2015
New Accounting Pronouncement, Early Adoption [Line Items]    
Net cash provided by operating activities $ 44,830 $ 45,951
Net cash used in financing activities (155,980) (14,778)
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  
Net cash provided by operating activities   0
Net cash used in financing activities   $ 0