debugging process()