add more save_c methods (untested)