feature: new populateFromArray