output labels and values