adding in client side