結果 : how to create an inverse function