I think you need a scanner for each variables.