Classes method updated