Adding searching function to bigger table solution