UNC's Barnes staying for sophomore season