everything good but index
everything good but index
works with linear search