faster optimizations