changed to class