class has type, old and new