結果 : write three functions of leaves