stripping out kruft