sending proper info among rows and cols