refactored locName to name