updates
Merge pull request #7 from dapopescu/master

removed unnecessary parameter from functions