add api working draft