added calculations for months