cleaned ofPath example, improved ofPath integration