Finished implementing recover(), starting debugging