add prototype of timeline class