changed template event to regular event listener to avoid potential collisions between games