simplified callbacks and unique process id is given