bug was that "month" wasn't initialized in main, so could drop core