neighbours array is unnecessary