working on API spec