index on code for speed