refactored months