why note get the names from the resource file