added another scala example