add neighbor interpretation logic