brushing graph working