def retrieve_previous_month(current_month):
    current_month_index = months.index(current_month)
    prev_month = months[(current_month_index - 1)]
    if (current_month == months[0]):
        year = (datetime.utcnow().year - 1)
    else:
        year = datetime.utcnow().year
    return (prev_month, year)
def retrieve_previous_month(current_month):
    current_month_index = months.index(current_month)
    prev_month = months[(current_month_index - 1)]
    if (current_month == months[0]):
        year = (datetime.utcnow().year - 1)
    else:
        year = datetime.utcnow().year
    return (prev_month, year)