added dumpsite and dump()