cosmological routines