Added comments and added reply codes in debug mode.