working byte conversion
wokring now