added color for different events