function clear_state()
    mpm.save_state(struct());
end
