working on custom path functionality