yaml works!!
add friend method.