working on first api