added in custom 'addClass' method