How to make the perfect cosmo