use array for img