added -complex analysis flag