[8]finish the code