wip on the spawn logic