code for process no proxy cases