I don't think that this should be in a function, but should be in the top-level.

I also think that we should be demoing the object, and not the path function.