Fixed variables in scanner