name instead of newName in constructor argument