client side work is almost completed