cleanup, spawning and moving