The invention relates to a method for controlling a safety-critical system, in particular of a motor vehicle, which includes a microcontroller. A mouth member is affixed to the bag. One particular embodiment relates a device and methods of using the same for sensing, counting, andor sorting leukocytes from whole, undiluted blood samples.