Code updated, byte[] to string