lightweight version of Cosmos