calculate_v5
setsample_v2
showsample_v1