Replace 'connect' with 'attach'