condensing the cosmos class