TrailQueue class