Added barebones client-side code