wrote "write_chast_plus_one" and "write_chast_plus_two"