gen p2set for 2obj