a smarter proxy