In class work with arrays