fixed api and added results