working example with reactor
working sample with periodic print