Different methods for sequential search