added some statistics methods