Adding linear search