Added sample to load data from array