Optimized for compiler