implemented brushReset