working on ringpoly call