commiting a working scanner