Improvements in the codes