Replaced s variable name with allrows