Complete the draft code.