add two API