categories changed to be a list