switched grapher to new callback