adding type definition of pool_account