correction 2 of the class method