completing codes