change way data is returned. was crashing library previously
Merge pull request #3 from riyadhalnur/master

change way data is returned. was crashing library previously