working on ELF support