general optimizations
eq