scanning shifts

changes at the top