How to add a Scanner