corrected and added to class definition guidelines