object function for timeline customization