adding scala assignment