ScanListener now correctly prints information