extended tutorial example, logging to info