added notes on our distance measure