Bug fix. Added fucntions for create month and year range