models for scanner example