refactor and yandox rca