farewell to the Scala implementation