how to use array