adding no sampling toggle