recovering data logic plus data