Cleaned up submitDayData