a simple Rx example