added stuff done in class