changed chunk size to 10 bytes