modified table for different sections and rows with color