Outsourced parameter-building to private function buildParams