comments for client side code