one thing i would do would be to put all the months in an array first month (jan) in the first part of the array and so on.