write this as `J[Int, Int, Double]` and let the implicits do their job.