get trailers and add functions