Updated waste function
Merge http://github.com/tallenn/Frizza