reordered tabs
corrected formula dependence on terms
dynamic ui for coloring attributes