made names arg a list not a string