added new transition feature to setTime