stuff done in class