expected item function