#150 added optional params for dispatch