added variable for current time