added time in state related functionality