add classcp, and modify stack