start of ex34 (dynamic arrays)