added pointers for row and col names