improved search by removing string interpolation