Added getSquareIds