get rid of the categories array