Dot class