Add time to the state variable