add a neighbor method