fix (re-write) timeline graph-based method