Implementing capitalization function on month