generalizing colors
fixing up modeltype