an example of using arrays