working on multiple path scenario