trying with array