trying alternatives to read bytes