Smart Foam