labels now generated properly