added colors for states of items.