date variable works now