before: [red green blue] len: 3 after: [red green blue yellow] len: 4