making progress on writing decoders, should be ready to test...