started work on merging first order factors