first working loop of the OCR bits