basic events working in LLVM