Initial rough code for CRC chamber