added spawning processes