use client mode