trying to assign date variable