Finally method append() works as expected.