add optimized