get-neighbors and get-neighbors-4

also sanity checks