use skip_bits where appropriate