set array feature, loop bug, new samples