adding factories