linear search added