added an else to make monthly 12 not buggy