implemented multiple spawning fully