add row and column checkers and also tests