[edit] add class definition