edited scan button