added _dump function