rename mainOperation to parentOperation