added root cause printing