Element 'selection algorithm'