All client-side processing functions written