use array for docs