classify returns lists instead of generators