add a better version of ddot result