using setLayoutVisualizer now and not a property