add showAdvance switch to disable advance features