compiled code for checkFailuers and transfer ownership
merge