var daysInYear was placed