New genpath method