move time to variable