* using data to format string to bytes
* need to fix write settings