getting closer to a sensible conversion logic. wish i had planned more
at the start ;>