Scanner Code - Kindle edition