Use better function
Micro optimizations