complete the codes.