add two new APIs