more optimizations.