replace divison operation