added dump() functions