added port finder, need to add error handling