Add alternate scala impl