Added example using the new scanner