refactor month var names and line length