adds factories