conversion algorithm works. starting to wrestle with strings and chars 
ready for final polish