added smart-operator mode