Removed not needed parameter
Removed not needed parameter
Fixing memory issues
Merge pull request #2 from nonken/master

Fixed memory issues