using arrays in expressions