add stmt pool