client side coding