private void checkEffectedRowsForCompletion() {
    	ArrayList<Integer> intList = new ArrayList<Integer>();
    	for (int i = 0; i < activePiece.getHeight(); i++) {// loops through the rows affected by the piece placement
    		for (int j = 0; j < boardWidth; j++) {// loops through every block in the row
    			if (boardDisplay[j][i+activePiece.getTopValue()] == 0)
    				break;// break the loop if a block == 0
    			if (j == (boardWidth-1)){// if j reaches this value then the entire row is full
    				intList.add(i+activePiece.getTopValue());// add the row number to the list
    			}
    		}
    	}
    	// now have a list of the rows that are full and need to be eliminated
    	for (int k = 0; k < intList.size(); k++) {// for each row that needs to be eliminated
    		for (int n = intList.get(k); n > 0; n--) {// loops through all the rows above it the row TBE
    			for (int m = 0; m < boardWidth; m++){// for each block in the row
    				boardDisplay[m][n] = boardDisplay[m][n-1];// assign to the block the value of the block above it
    			}
    		}
    		for (int l = 0; l < boardWidth; l++){// for each block in the very top row
				boardDisplay[l][0] = 0;// assign it value of 0
			}
    	}
    	sboard.updateScore(intList.size());
    	repaint();
    }