implement enter and exit of dots