set up operator callback