adding timeline and trim directives