updated with labels in array