now works on a range of months, rather than just a whole year