playing with the reactor framework