dixit comments on the function. It should appends array together when called multiple times.