correction of the class method