refactor: puts and case in display_month