added Cosm logging