scala assn 3: first stab