changes names to name in example