add binary
save results from middleware
add custom sampling mode