added calculate stats driver: NOT FINISHED