bring sanity to the "get_names()" procedure