Add implicit inputs and implicit val rng in scala task.