using encoding/binary instead of converting by my code for clearance