extracted the execution and the handling of them to a new method
Merge pull request #9 from helmedeiros/unifiedParameters

extracted the execution and the handling of them to a new method