Implementing basic recovery technique and error reporting.