more abstract visualizing function, better for diff space