add two api