added cl, smog functions