labelname and labeltitle dynamic generation