create spawn logic for ghosts