add reply code