Data Recovery with and without Programming