added allExit and allMoveTo