Split the record response method, removed unnecessary code , followed good oo principles.