Furthermore, the more students perceived they were able to influence each other, the better their task performance. Interestingly, although friendship was beneficial for performance earlier in the task, it was detrimental later in terms of the errors the students made as they worked collaboratively together