refactory resn and respond module