v1

Everething except sampling of the interval.