moved all bit stuff to conversions