fiexed using variable names instead of get methods
Merge pull request #46 from TomaQ/30_using_this_in_class

fixed using variable names instead of get methods