Added function Resp() to generate responce process.