added hasClass