ArrayList version, pending neighbour list