add init and restore clean version