removed the # header while loop from grab