working on getNeighbours