imported scanner class