some proc error recovering code
more proc error recovering