functionally generated path technique