working fluxmain and complete link