added table of codes
some report changes