Scan in and out