added variables to the month data function