pass correct parameters to processor