renamed date variable for consistency