#150 added optional params for dispatch
Merge pull request #152 from joola/feature/issue#150

#150 added optional params for dispatch