Added reject and sample to array