Added in code spawn changes