First scala pass
.