statistics methods 1st version finished