added time line diagram
improved analysis performance