refactoring
Merge pull request #2 from pederbl/master

refactoring suggestion