changed the logic from manhattan to here... I think it's really ugly, bu...

...t w/e