introduced different colors for resource type