refactor Basif process