implement lr-poly2