changed to result.to_yaml