optimized library