implement dot-x correctly