added Path Generator method