compiled in advanced mode