Spawning works correctly