rewriting api calls
Merge pull request #1 from sosfacekilla/rewrite

rewriting api calls