Added the addclass method