separated methods into separate functions, still working on bit unpacking for frequency
fixed char bit shifting
changed initial message to use two bytes