added resource merge