major issues with the last day of the month
herp derp the problem isn't last day-related, it's because I broke the loops