little edits to the IDECODE state