trying the new class code