proxy and adapter