Implemented pt2restrict