A couple of LPA algorithms