Made it possible to exit upon winning