add basic scanner example