Add neighbors implementation