Renamed and added checkDays function - Gabriel