added loop points to Sampler API