begin class