modifies factories