Revised codes on dimension