modified the connect and piping part