cleanup init_resp with proper variable names and arguments.