fixed up neighbor logic