refactor make private methods in month