Reads rows and cols