Begun implementation of scanner