corrected class method call