added prepare recovery functionality to Journal