a somehow working copy able to find clock. still not good at decoding bits.