use scalalib monoid instances