added miguels idea for api
Merge pull request #10 from mlee284045/mike

added miguels idea for api