first attempt to make spawn customizable