use cereal; add delete and cleanup