test with new class, cannot understand why