quick and dirty multipath implementation