add second endpoint