Added row_dim and col_dim