changes to factory