background and spawning