distance measures done for now