- scanner added to the application logic