+reduce to class