The body of this function should be updated as well to `getname()`