changed spawning to be less stupid