and How This Can Be Implemented into C