added more variables to month data function