new version of docs client side