Improvement of codes