Very basic scanning functionality