doc rewf