get first and last members of array.