Adds neighbor check