draft for oat api using