incorporated reverse scanning into step