writing code to create timers for players