client side & server side