added color coding for story line