added color coding and scaling