adding path feature to demo