example with recovery