Adding reply codes