added neighborhood query