adding initial scanner class