simplify factories