beginning of class