prepping retrieve and restore