Added month end functionality