complete the coode