record: add a switch case for the bus