added a counter that counts the time passed since the start of the game