Trailer new function