added all_fields class variable