added functions, counters & game over events