add dot behavior