Added separate transformation for labels