modify simplefactory