Implement dump for test
Implement clear for demo