keeping all code from the one-month-html class here