recomplete code