How to create a Timer.