static and dynamic arrays