U-shaped valve