did some client side stuff