hasClass -> length