poly2cw proto added, TODO fixed