let TimelineEvent type to be customizable