add funcs adjacent and neighbors