function mark CP under particle