commented scanner