add name function to listing