use name instad of newName to be consistent with mx functions