Simplified scanner function