- fixed pep8 style
- added missing self
- removed ;
- removed not neccesary code lines