added color code for trials..