How to Implement TOR with BAS?