restore my changes from a decompiled version. That means the commit history is lost. Sorry.
Merge pull request #2 from saladoc/refactor

Refactoring of existing Functions