Maybe use urlToName here as well? Can this be a getter instead? Not sure it matters though but now we are storing the same data twice