added in a rule for scanner