Added horizontal column checking.