made some good progress on the spawn replacement almost there