adds factory