added different colors to different event types