append optimized