fisrt working version of poc api