changed categories array thing