added commented code for proxy usage