enabled optimized functions