pos_v2 split out
pos_v2 generte two class