add a better way to convert bytes into hex format