added reply functionality.