how to handle the time action transitions?