working with scans