Adding a neighbors function I can stand looking at