Smart brushing