trivial optimizations.