modified to multipath