doLogic flag automatically chosen