add multiple pool support