Scanning works, displays result of scan in view