scanner parses results