Four-way valves or valves with more than four ways