updated use case 5 with function style labels