expose data to client example