refactor dau to use scopes