add time graph