added sample to array