scala assignment