remove trailer
logic implementatiton