working copy of the api