Working version of scans classes