結果 : general structure of user defined function