add pool code