improving spawn