working on interface to llvm lib