adding scan button