merge
finish the coding for the last two functions, without debugging. If you found any, please report to Wenbo