added head and tail to TimeLine