add neighbor class