Basic example client-side code