Modified to support 20% samples by default