sampledata initialize working