sample generator v0.2