change identificator to include pid
incomplete new reactor code