Mix the baking soda and the corn starch together well. Then just before you go to bed, sprinkle liberally onto your carpet and leave it over night. When you wake up the next day vacuum the carpet, it will smell fresh and clean. The added bonus is that once the baking soda gets into the vacuum, it will freshen it as well