add pool class