added date variable