method name changed to getVisualFields