sample generator v0.1