make methods to calculate user stats