renaming

removed join stuff
remove extra variable
added simple connection replay