Add functions for handling path value