added code to acquire one month of data