adding a scanner