some code of the webdav browser model