fixed compilation errors by introducing PreferredOperator type class