peek can return an element in any position