added more statistical calculations