add labels and formatting