add new implementation methods for the binary output
add variadic template in runpolicyexample