scan in both directions