-methods added for statistical analysis
-various changes