trying to resolve trouble with pool binary functions