Brush switching added.