arithmetic return/echo replace