changed the head function to month - was set as hours