Wrong variable, needs to be monthNum and not month