Time for action – creating a timer in BeginState