modify game flow