changed a little bit of api
Merge pull request #24 from krux02/master

changed a little bit of api