Fixed order of operations in dao