create draw_sample