implement trailer selection