Changed buf sizes from (60 and 100)--arbitrary sizes to 1024