new header into cosmo_fun