started making timer for ending game