implemented switching month