added scanning output