add small api