updated data functions to get at least one month of data