check neighbors