copy from test13.elf
fix lookup to start at index 0