edited api