I don't understand why we need the "wait" here.