Data function displays badges correctly