rename categories to catagoryArray to match other array names
rename categories to categoryArray to match other array names