created Dot for encapsulation