added the Name class with name printed in constr