Adding the apis