removed redundant variables
Merge pull request #10 from smart--petea/use_refactor

removed redundant variables