refactor spawning a bit