Optimized for clang