changed factory