[+] mainLoop