How is it sometimes a string and sometimes an array