added transformer to transform the collected data.