create spawn logic for ghost - part 2