結果 : standard algorithm steps