added code for simple process number communication