add gameclear routine