graphs works better for both assignments and categories