Adding factory object