added new statistics calculations