Adding a snippet for the dump function