adds "name" to the returned result