renamed 'returnlist' to 'multipath'