added interface for restore