changed data structure to use array of symbols rather than array of strings