experimenting with reusable browser code for client