use type aliases in Util.scala