edit make_cos