pseudoimplemeting save/restore config