use cosmo.get_cosmo_properties and remove redundant method