new class and deleted old