moving to string
updating loop to account for network loss