Change dot class