Added mimic spawn function