added availble field check but territories is still unreliable, added example to comments to prove it