Adding first and last element read