allow to init with an empty array