working with dot