add constructor to proxy provider