adding an api to generate the new month