euclid and manhattan working