add getDuration to Timeline