compile ADVANCED.