to add the setoperationboth