ruhoh implements with scala