Fixes the splitsentence example by passing a ptr to the Read method