finish scala