pi: added the end point