Can't quite get it right :/
Now checking rows correctly.