main_new reworked for correct llvm