added forRow and forCol