a simple example of reactive output