Added transformToVisual