add a simple signal/slot mecanism