new and improved - added port variables