pass param to scanner