added removing row and column method