month 2 minutes and test case for this function