added the scanner trait that you would extend in an activity