all pairs boolean class with script wrapper
example code