add pool support