Working on pathway infer methods